/* Content.Objects.less */

.mce-content-body .mce-reset {
  margin: 0; padding: 0; border: 0; outline: 0;
  vertical-align: top; background: transparent;
  text-decoration: none; color: black;
  font-family: Arial;
  font-size: 11px; text-shadow: none; float: none;
  position: static; width: auto; height: auto;
  white-space: nowrap; cursor: inherit;
  line-height: normal; font-weight: normal;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  direction: ltr;
  max-width: none;
}

.mce-object {
  border: 1px dotted #3A3A3A;
  background: #D5D5D5 url(img/object.gif) no-repeat center;
}

.mce-preview-object {
  display: inline-block;
  position: relative;
  margin: 0 2px 0 2px;
  line-height: 0;
  border: 1px solid gray;
}

.mce-preview-object[data-mce-selected="2"] .mce-shim {
  display: none;
}

.mce-preview-object .mce-shim {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url();
}

figure.align-left {
  float: left;
}

figure.align-right {
  float: right;
}

figure.image.align-center {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

figure.image {
  display: inline-block;
  border: 1px solid gray;
  margin: 0 2px 0 1px;
  background: #f5f2f0;
}

figure.image img {
  margin: 8px 8px 0 8px;
}

figure.image figcaption {
  margin: 6px 8px 6px 8px;
  text-align: center;
}

.mce-toc {
  border: 1px solid gray;
}

.mce-toc h2 {
  margin: 4px;
}

.mce-toc li {
  list-style-type: none;
}

.mce-pagebreak {
  cursor: default;
  display: block;
  border: 0;
  width: 100%;
  height: 5px;
  border: 1px dashed #666;
  margin-top: 15px;
  page-break-before: always;
}

@media print {
  .mce-pagebreak {
    border: 0px;
  }
}

.mce-item-anchor {
  cursor: default;
  display: inline-block;
  -webkit-user-select: all;
  -webkit-user-modify: read-only;
  -moz-user-select: all;
  -moz-user-modify: read-only;
  user-select: all;
  user-modify: read-only;
  width: 9px !important;
  height: 9px !important;
  border: 1px dotted #3A3A3A;
  background: #D5D5D5 url(img/anchor.gif) no-repeat center;
}

.mce-nbsp, .mce-shy {
  background: #AAA;
}

.mce-shy::after {
  content: '-';
}

.mce-match-marker {
  background: #AAA;
  color: #fff;
}

.mce-match-marker-selected {
  background: #3399ff;
  color: #fff;
}

.mce-spellchecker-word {
  border-bottom: 2px solid #F00;
  cursor: default;
}

.mce-spellchecker-grammar {
  border-bottom: 2px solid #008000;
  cursor: default;
}

.mce-item-table, .mce-item-table td, .mce-item-table th, .mce-item-table caption {
  border: 1px dashed #BBB;
}

td[data-mce-selected], th[data-mce-selected] {
  background-color: #3399ff !important;
}

.mce-edit-focus {
  outline: 1px dotted #333;
}

.mce-resize-bar-dragging {
  background-color: blue;
  .opacity(0.25);
}

.mce-content-body {
  *[contentEditable=false] *[contentEditable=true]:focus {
    outline: 2px solid #2d8ac7;
  }

  *[contentEditable=false] *[contentEditable=true]:hover {
    outline: 2px solid #7ACAFF;
  }

  *[contentEditable=false][data-mce-selected] {
    outline: 2px solid #2d8ac7;
  }

  a[data-mce-selected], code[data-mce-selected] {
    background: #bfe6ff;
  }

  hr {
    cursor: default;
  }
}
